﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Renci.iRods.Common;

namespace Renci.iRods.Packets
{
    //#define RErrMsg_PI "int status; str msg[ERR_MSG_LEN];"
    [Packet("RErrMsg_PI")]
    internal class ErrorMessagePacket : Packet
    {
        [PacketField("status", 0, DataTypes.Int)]
        public int Status { get; set; }

        [PacketField("msg", 1, DataTypes.String, 1024)]
        public string Message { get; set; }
    }
}
